package org.bigjava.user.service;

import org.bigjava.bean.Attention;
import org.bigjava.bean.Posts;

import java.util.List;
import java.util.Map;

public interface PostsService {
    //用户创建帖子
    void insertPosts(Posts posts);

    //查看帖子详情
    Posts queryPostsDetails(String postsName , int TopicId);

    //用户删除帖子
    void deletePosts(int postsId,int topicId);

    //用户查询帖子
    List<Posts> inquirePosts(String postsName);

    //首页用户个性动态推荐
    List<Attention> personalityPosts(long userid);

    //首页热门动态推荐
    List<Posts> postsHot();


}
